package com.webproject.core.service;

import com.webproject.core.base.BaseException;
import com.webproject.core.model.User;

/**
 * 身份验证业务service
 */

public interface AuthService {
    /**
     * 注册接口
     */
    User registerUser(String name,String password) throws BaseException;

    /**
     * 登录接口
     */
    User login(String name,String password) throws BaseException;
}
